// to make this program, we need to make ../11_01CreatingALibrary/rary.rs first
// cd ../11_01CreatingALibrary
// rustc --crate-type=lib rary.rs
// cd ../11_02UsingALibrary
// rustc 11_02UsingALibrary.rs --extern rary=../11_01CreatingALibrary/library.rlib

fn main() {
    rary::public_function();
    // Error! `private_function` is private
    //rary::private_function();

    rary::indirect_access();
}